Lift the requirement that cargo is built with make
authorAlex Crichton <alex@alexcrichton.com>
Wed, 6 Aug 2014 03:54:32 +0000 (20:54 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 6 Aug 2014 03:54:32 +0000 (20:54 -0700)
commit5cb542c8217bbe2fc05c3959aa23c850880fbc40
tree2f8a6c211fda46a9774b82387a6ae43ff697a8fd
parent23bb49c80702af53a6e76f11c8749f82fe9681a3
Lift the requirement that cargo is built with make

Cargo should be able to build with cargo so others can depend on the cargo
library. This means that the one requirement of the CFG_VERSION env var will not
be available. This alters `version()` to prioritize CFG_VERSION but fall back to
the cargo-specified variables.
src/cargo/lib.rs